<?php echo $this->Form->create('ModelTable'); ?>
<?php echo $this->Form->hidden('id'); ?>
<table style = 'width:100%'>
	<tr>
		<td>
			<?php echo $this->Form->input('model_id',array('type'=>'text','readonly')); ?>
		</td>
	</tr>
	<tr>
		<td>
			<?php echo $this->Form->input('name',array('label'=>'名称')); ?>
		</td>
	</tr>
	<tr>
		<td>
			<?php echo $this->Form->input('width',array('label'=>'宽')); ?>
		</td>
	</tr>
	<tr>
		<td>
			<?php echo $this->Form->input('height',array('label'=>'高')); ?>
		</td>
	</tr>
	<tr>
		<td>
			<?php echo $this->Form->input('background',array('label'=>'背景')); ?>
		</td>
	</tr>
	<tr>
		<td>
			<?php echo $this->Form->input('css',array('label'=>'样式')); ?>
			<?php echo $this->Form->hidden('sort',array('default'=>'100')); ?>
			<?php echo $this->Form->hidden('enable',array('default'=>'1')); ?>
		</td>
	</tr>
	<tr>
		<td>
    		<a href = 'javascript:;' onclick = "m.tb.f.submit('#ModelTableAdminEditTableForm')">submit</a>
		</td>
	</tr>
</table>
<?php echo $this->Form->end(); ?>
